package com.tourism.home.service;import com.tourism.home.dao.NoticeDao;import com.tourism.home.entity.*;import org.springframework.beans.factory.annotation.Autowired;import org.springframework.stereotype.Service;import java.util.List;/** * @author wanglinli * at 18-4-10 下午9:13 * 注释: */@Servicepublic class NoticeService {    @Autowired    private NoticeDao noticeDao;    public Notice getNewNotice(){return noticeDao.getNewNotice();}}